package com.tongzhan.service;

import com.tongzhan.base.Return;
import com.tongzhan.entity.religion.Activity;

public interface ActivityService {

    /**
     * 上传活动
     *
     * @param activity
     * @return
     */
    Return uploadActivity(Activity activity);

    /**
     * 获取活动列表
     *
     * @param userId
     * @param siteCode
     * @param religionCode
     * @param time
     * @param page
     * @param size
     * @return
     */
    Return getActivityList(String userId, String siteCode, String religionCode, String time, Integer page, Integer size);

    /**
     * 活动详情
     *
     * @param activityCode
     * @return
     */
    Return activityDetails(String activityCode);

    /**
     * 删除活动
     *
     * @param activityCode
     * @return
     */
    Return deleteActivity(String activityCode);

    /**
     * 修改活动
     *
     * @param activityCode
     * @param title
     * @param content
     * @param number
     * @param startTime
     * @param endTime
     * @param picture
     * @return
     */
    Return update(String activityCode, String title, String content, Long number, String startTime, String endTime, String picture);
}
